<?php
namespace Application\Model;

class Subscriber
{	
	public $subscriber_id;
	public $subscriber_email;	
	public $status;
	public function exchangeArray($data)
	{		
		$this->subscriber_id     	= (isset($data['subscriber_id']))    ? $data['subscriber_id']     	: null;
        $this->subscriber_email 	= (isset($data['subscriber_email'])) ? $data['subscriber_email'] 	: null;       
		$this->status  				= (isset($data['status']))  	     ? $data['status']  		    : null;
	}
	// Add the following method:
	public function getArrayCopy()
	{
		return get_object_vars($this);
	}

}